package org.hbhk.hms.mq.tx.mq;

import org.hbhk.hms.mq.tx.provider.DefaultMqRecordService;
import org.hbhk.hms.mq.tx.provider.MqTransactionManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.annotation.Order;

@Configuration
@Order(-1000)
public class MqTxConfiguration   {

	@Bean
	public DefaultMqRecordService getDefaultMqRecordService() {
		return new DefaultMqRecordService();
	}
	@Bean
	public MqTransactionManager getMqTransactionManager() {

		return new MqTransactionManager();
	}

}
